package cn.zynworld.hnister.chats.enums;

/**
 * 聊天消息的类型
 */
public enum ChatMessageTypeEnum {
	TEXT_TYPE(0,"文本类型"),
	PHOTO_TYPE(1,"图片类型");
	private int code;
	private String desc;

	ChatMessageTypeEnum(int code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	public String getDesc() {
		return desc;
	}

	public int getCode() {
		return code;
	}
}
